package com.suitsoft.ut.entity.thesis;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.suitsoft.ut.entity.IdEntity;

/**
 * 专家评语实体
 *@author Suineg
 */
@Entity
@Table(name = "LW_EXPERT_CONTEXT")
public class ExpertContent extends IdEntity{
	
	/** 流程记录 */
	
	private ThesisFile file;
	/** 内容 */
	private String content;
	/** 专家名 */
	private String expertName;
	/** 评语时间 */
	private Date addDate;
	@ManyToOne(fetch =FetchType.LAZY)
	@JoinColumn(name = "THESIS_FILE_ID")
	public ThesisFile getFile() {
		return file;
	}
	public void setFile(ThesisFile file) {
		this.file = file;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getExpertName() {
		return expertName;
	}
	public void setExpertName(String expertName) {
		this.expertName = expertName;
	}
	public Date getAddDate() {
		return addDate;
	}
	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}
}

